package resources;

class Rectangle {
	private int left;
	private int right;
	private int top;
	private int bottom;
	
	Rectangle(){		
	}
	
	Rectangle( int left, int top, int right, int bottom ){
		this.left = left;
		this.top = top;
		this.right = right;
		this.bottom = bottom;
	}

	int getLeft() {
		return left;
	}

	int getRight() {
		return right;
	}

	int getTop() {
		return top;
	}

	int getBottom() {
		return bottom;
	}
	
	int getWidth() {		
		return right - left;
	}
	
	int getHeight() {		
		return bottom - top;
	}
}